package com.lagou.dao;

import com.lagou.domain.PromotionSpace;

import java.util.List;

public interface PromotionSpaceMapper {

    /*
    * 获取所有广告位
    * */
    public List<PromotionSpace> findAllPromotionSpace();

    /*新增广告位*/
    public void savePromotionSpace(PromotionSpace promotionSpace);

    /*根据id回显广告信息*/
    public PromotionSpace findPromotionByID(int id);

    /*修改广告位的方法*/
    public void updatePromotionSpace(PromotionSpace promotionSpace);
}
